package com.dogstudio.popstart.config;

import android.util.SparseArray;

import com.dogstudio.popstart.R;

/**
 * 游戏配置
 */

public class Config {
    public static final boolean IS_DEBUG = true;
    public static final String TAG = "POP_START";
    public static final int SIZE = 10;
    public static final int RED = 0;
    public static final int BLUE = 1;
    public static final int GREEN = 2;
    public static final int YELLOW = 3;
    public static final int PURPLE = 4;

    public static int SCREEN_WIDTH;
    public static SparseArray<Integer> map;


    public static void initMap() {
        map = new SparseArray<Integer>();
        map.put(RED, R.drawable.block_red);
        map.put(BLUE, R.drawable.block_blue);
        map.put(GREEN, R.drawable.block_green);
        map.put(YELLOW, R.drawable.block_yellow);
        map.put(PURPLE, R.drawable.block_purple);
    }
}
